﻿<%@ Page Language="C#" MasterPageFile="~/default.master" AutoEventWireup="true" CodeBehind="Yarnlet.aspx.cs"
    Inherits="Chinook.Web.UXWidgets.Yarnlet" %>


<asp:Content ID="Content1" ContentPlaceHolderID="BodyContentPlaceholder" runat="Server">
    <div id="phYarnLet">
    </div>
    <p>
        Example:</p>
    <pre>
        //Configuration as JSON Object
        var steps = { 
            steps: ['BSA', 'Hiring Manager', 'Management', 'Compliance', 'Security Administrator', 'SOX Auditor']
            , current: 'Compliance' }
            
        //Render the workflow in page_load (dom ready)           
        $(function() { $("#phYarnLet").yarnlet(steps); });

    </pre>

    <script type="text/javascript" language="javascript">
        var steps = { 
            steps: ['BSA', 'Hiring Manager', 'Management', 'Compliance', 'Security Administrator', 'SOX Auditor']
            , current: 'Security Administrator' }
        $(function() { $("#phYarnLet").yarnlet(steps); });

    </script>

</asp:Content>
